package com.example.demo.model.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_ad")
public class AdModel {

    @Id
    @Column
    private String adId;

    @Column
    private String adTitle;

    @Column
    private String adImg;

    @Column
    private String shopId;

    @Column
    private Long createTime;

    @Column
    private Integer adStatus;

    @Column
    private Integer adIndex;

    @Column
    private String adDesc;

    @Column
    private String adContent;

    @Column
    private String adCustom;

    @Column
    private Integer adType = 0; // 0-普通广告 1-活动广告 2-h5广告

    public String getAdCustom() {
        return adCustom;
    }

    public void setAdCustom(String adCustom) {
        this.adCustom = adCustom;
    }

    public String getAdContent() {
        return adContent;
    }

    public void setAdContent(String adContent) {
        this.adContent = adContent;
    }

    public Integer getAdType() {
        return adType;
    }

    public void setAdType(Integer adType) {
        this.adType = adType;
    }

    public String getAdId() {
        return adId;
    }

    public void setAdId(String adId) {
        this.adId = adId;
    }

    public String getAdTitle() {
        return adTitle;
    }

    public void setAdTitle(String adTitle) {
        this.adTitle = adTitle;
    }

    public String getAdImg() {
        return adImg;
    }

    public void setAdImg(String adImg) {
        this.adImg = adImg;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getAdStatus() {
        return adStatus;
    }

    public void setAdStatus(Integer adStatus) {
        this.adStatus = adStatus;
    }

    public Integer getAdIndex() {
        return adIndex;
    }

    public void setAdIndex(Integer adIndex) {
        this.adIndex = adIndex;
    }

    public String getAdDesc() {
        return adDesc;
    }

    public void setAdDesc(String adDesc) {
        this.adDesc = adDesc;
    }
}
